const Router = require('koa-router'),
      animation = require('../models/animation'),
      router = new Router;

router.prefix('/api/animation');
router.post('/',async(ctx,next)=>{
	console.log(ctx.request.body);
    let{page} = ctx.request.body;
    console.log(page);
    let res =await animation.getAnimationList(page);
    ctx.body = res;
})

module.exports = router
